package com.study.sbsummary.config.annotation.redis;


import com.study.sbsummary.config.aop.redis.KeyType;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 用于表示redis的key
 * @Author: yuliang
 * @Date: 2022/3/15
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.PARAMETER)
public @interface Key {
    KeyType type() default KeyType.STR;
}
